- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 0124-2383121
Course Introduction
Includes
Certificate & Practice Material
Programs for practice
In the program below, we've introduced beginers to programming in C
Source Code: program finds if a given number is even or odd
# This program finds if a given number is even or odd
void main()
{
int a;
printf("Enter a number");
scanf("%d",&a);
if(a%2==0)
printf("number is Even");
else
printf("number is odd");
}
Output
Enter a number 4
number is Even